﻿using System;
using System.Runtime.Serialization;

namespace Libraries.Entities
{
    [DataContract]
    public class Department
    {
        [DataMember]
        public int DepartmentId { get; set; }
        [DataMember]
        public string DepartmentName { get; set; }
        [DataMember]
        public int? ParentDepartmentId { get; set; }
        [DataMember]
        public string Descriptions { get; set; }
        [DataMember]
        public int? CreateBy { get; set; }
        [DataMember]
        public DateTime? CreateDate { get; set; }
        [DataMember]
        public int? ModifiedBy { get; set; }
        [DataMember]
        public DateTime? ModifiedDate { get; set; }
        [DataMember]
        public string DepartmentFullName { get; set; }
        [DataMember]
        public int TotalRow { get; set; }
    }
}
